package pe.edu.upc.qwerty.movil.service;

import java.util.List;

import org.springframework.web.client.RestTemplate;

import pe.edu.upc.dsd.qwerty.wsreserva.model.Asientos;

public class RestServices {

	@SuppressWarnings("unchecked")
	public Asientos getAsientos(String url ){
		RestTemplate restTemplate = new RestTemplate();   	
		return restTemplate.getForObject(url, Asientos.class);
	}
	
}
